/**
*  
*向省平台上报双公示和信用承诺
*   
*/
package com.py.credit.service.impl;


import com.py.credit.dao.UploadDao;
import com.py.credit.entity.*;
import com.py.credit.service.UploadService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


import java.util.*;

/**
 * 
 * @Function 批次数据服务
 * @ClassName BatchDataServiceImpl
 * @Date 2018年9月27日 上午11:47:38
 * @Author Min DongXv
 * 
 */
@Service
public class UploadServiceImpl implements UploadService {


	@Autowired
	private UploadDao uploadDao;



	@Override
	public List<SubmitXzxkBean> getXzXkList () {
		// 获取表信息
		return uploadDao.getXzXkList();
	}

	@Override
	public List<SubmitXzxkBean> getXzXkListByBatchId (String batchId) {
		// 获取表信息
		return uploadDao.getXzXkListByBatchId(batchId);
	}

	@Override
	public List<SubmitXzxkBean> getZrrXzXkList() {
		return uploadDao.getZrrXzXkList();
	}


	@Override
	public List<SubmitXzxkBean> getZrrXzXkListByBatchId (String batchId) {
		return uploadDao.getZrrXzXkListByBatchId(batchId);
	}

	@Override
	public List<SubmitXzcfBean> getFrXzCfList() {
		return uploadDao.getFrXzCfList();
	}

	@Override
	public List<SubmitXzcfBean> getZrrXzCfList() {
		return uploadDao.getZrrXzCfList();
	}

	@Override
	public void saveSubmitLogsInfo(SubmitLogsInfo info) {
		uploadDao.saveSubmitLogsInfo(info);
	}

	@Override
	public void updateXzStatusByRecordIds(String tableName, List<String> recordIds) {
		uploadDao.updateXzStatusByRecordIds(tableName,recordIds);
	}

	@Override
	public void updateXzStatusByIds(String tableName, List<String> recordIds) {
		uploadDao.updateXzStatusByIds(tableName,recordIds);
	}

	@Override
	public void saveSubmitLogsDetails(List<SubmitLogsDetails> details) {
	uploadDao.saveSubmitLogsDetails(details);
	}

	@Override
	public List<FrPromiseBookBean> getFrPromiseBookLlist() {
		return uploadDao.getFrPromiseBookLlist();
	}

	@Override
	public List<ZrrPromiseBookBean> getZrrPromiseBookLlist() {
		return uploadDao.getZrrPromiseBookLlist();
	}

	@Override
	public void savePromiseSubmitLogsInfo(SubmitLogsInfo info) {
		uploadDao.savePromiseSubmitLogsInfo(info);
	}

	@Override
	public void saveSubmitPromiseLogsDetails(List<SubmitPromiseLogsDetails> details) {
 		uploadDao.saveSubmitPromiseLogsDetails(details);
	}

	@Override
	public List<LYJNBean> getLyjnlist() {
		// TODO Auto-generated method stub
		return uploadDao.getLyjnlist();
	}

	@Override
	public List<SubmitXzcfBean> getFrXzCfListByBatchId(String batchId) {
		return uploadDao.getFrXzCfListByBatchId(batchId);
	}

	@Override
	public List<SubmitXzcfBean> getZrrXzCfListByBatchId(String batchId) {
		return uploadDao.getZrrXzCfListByBatchId(batchId);
	}
}
